Displaying 20 results from an estimated 14345 matches for "specs".
Did you mean:
spec
2007 May 29
4
rspec and autotest (was: questions rspec on rails)
Do have the latest versions?
RSpec-1.0.3
ZenTest-3.6.0
---------- Forwarded message ----------
From: Jonathan Linowes <jonathan at parkerhill.com>
Date: May 29, 2007 11:47 AM
Subject: Re: [rspec-users] questions rspec on rails
To: rspec-users <rspec-users at rubyforge.org>
Hi, I should have mentioned I already did that. Here''s my spec.opts file
--colour
--format
progress
2007 May 30
18
autotest and rspec_on_rails not happy
Hi,
I''ve been using the rspec and rspec_on_rails plugins quite happily on
my Rails project for a while now. Today I noticed the autotest
support in RSpec-1.0.3 and decided to give that a spin.
Oh tragedy!
$ autotest
loading autotest/rails_rspec
./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:33:in
`initialize'': undefined method `singularize''
2007 Jun 23
6
Autotest bug with rerunning passing tests?
Am I correct in remembering that autotest (with Test::Unit) would
rerun all the tests if a subset of the tests passed? If so,
shouldn''t this behaviour also be present in rspec''s autotest library?
Scott
2009 Oct 22
4
spec failing to run specs when spec.opts is present on 1.2.9
...pec/models/topic_spec.rb
$ spec spec/models/topic_spec.rb
Options written to spec/spec.opts. You can now use these options with:
spec --options spec/spec.opts
$ cat spec/spec.opts
spec/models/topic_spec.rb
spec/models/topic_spec.rb
$ spec spec/models/topic_spec.rb -b
*
Pending:
Topic should have specs (Not Yet Implemented)
./spec/models/topic_spec.rb:6
Finished in 0.004289 seconds
1 example, 0 failures, 1 pending
$ rm spec/spec.opts
$ spec spec/models/topic_spec.rb
*
Pending:
Topic should have specs (Not Yet Implemented)
./spec/models/topic_spec.rb:6
Finished in 0.048676 seconds
1 example,...
2007 Jul 26
5
Coding standards and whitespace
...er_runner.rb
spec_distributed/lib/spec/distributed/slave_runner.rb
spec_distributed/Rakefile
spec_distributed/README.txt
spec_distributed/setup.rb
spec_ui/examples/selenium/Rakefile
spec_ui/examples/selenium/spec/spec_helper.rb
spec_ui/examples/watir/Rakefile
spec_ui/examples/watir/spec/watir/find_rspecs_homepage_spec.rb
spec_ui/lib/spec/ui/formatter.rb
spec_ui/lib/spec/ui/selenium/driver_ext.rb
spec_ui/lib/spec/ui/watir/browser.rb
spec_ui/lib/spec/ui/watir/matchers.rb
spec_ui/Rakefile
spec_ui/spec/spec/ui/watir/matchers_spec.rb
No big deal, but just wanted to throw this out there to see what you...
2006 Jun 14
4
a new way to crash R? (PR#8981)
Dear R Team,
First, thank you for incredibly useful software!
Now the bad news: The attached script (or the original version with
real data) will reliably crash R on my machine. I am using:
R version: either 2.2.1 or 2.3.1
Windows 2000 Professional, Service Pack 4
512 MB of RAM
On my machine the script will crash R on line 42 [ probits21 <-
lapply(... ].
In both this script and the
2007 Apr 25
9
Running specs for a plugin - undefined method ''define'' for object
I''m trying to write specs for a plugin I''m developing named audit_fu, and
I''m running into a problem which I can''t get past it. I''ve got the same
specs setup in the main rails app, and everything works fine there, it''s
just running the plugin specs that I''m having a pr...
2007 Apr 09
7
RCov results seem to include the spec files
I saw the RCov page at http://rspec.rubyforge.org/tools/rcov.html and
decided to add it to my project. My rakefile looks like this:
require "rake"
require "spec/rake/spectask"
desc "Run all specs with RCov"
Spec::Rake::SpecTask.new("spec:rcov") do |t|
t.spec_files = FileList["spec/**/*_spec.rb"]
t.rcov = true
end
When I run rake spec:rcov, it runs the specs using RCov and generates
the reports, but it''s including all my spec files as well.
At the very...
2008 Jul 09
2
Can I get RSpec NOT to abort rake on failing specs?
At work we''ve got a rather complex app with both specs and tests. Our
default rake task runs all our our tests and specs. We''ve also got separate
rake tasks to run groups of tests and specs in the various subdirectories.
The default task simply lists all the individual tasks as pre-reqs.
We do a lot of branching and merging, so we really wan...
2007 Dec 12
3
undefined method: controller_name
With rspec 1.0.8 I have a spec in the directory:
spec/units/controllers/application_controller_spec.rb
require File.dirname(__FILE__) + ''/../../spec_helper''
class DummyController < ApplicationController
def index
raise "Prevent index from rendering"
end
end
describe ApplicationController, "Handling errors in production",
:behaviour_type =>
2008 Jun 03
9
Build rspec-rails as a gem?
I can''t figure out how to build rspec-rails as a gem when just cloned
from github... there isn''t any .gemspec file or rake task that does
this. Any help?
--
Posted via http://www.ruby-forum.com/.
2007 May 26
11
RSpec
Hi RSpec Mailing list,
I''m new to RSpec and I am trying to get it running with the caboo.se sample
rails app.
I installed the current version of rspec with rspec_on_rails
I tried to run rake spec but received:
330-07:~/desktop/restful_auth_rspec/vendor multimedia$ rake spec
(in /Users/multimedia/Desktop/restful_auth_rspec)
2017 May 18
6
Enable vectorizer-maximize-bandwidth by default?
Hi,
I'm proposing to make vectorizer-maximize-bandwidth on by default for loop
vectorizer because it should generally help performance.
I've tested the performance impact on Intel sandybridge machine with
speccpu benchmarks:
Benchmark Base:Reference (1)
-------------------------------------------------------
spec/2006/fp/C++/444.namd 26.84
2007 May 02
13
RSpec 0.8.2 pain, missing spec/rails?
Hi. I''m upgrading a project from an 0.8.0 pre-release gem to 0.8.2.
I''ve installed the 0.8.2 gem, and the rspec_on_rails 0.8.2 plugin:
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_8_2/rspec
When I try to run my specs though, I get the below error. It''s as if the
spec_helper cannot find "spec/rails". I''ve noticed that "spec/rails" is
part of the rspec plugin, but I''m using the gem and cannot find
spec/rails.rb (it''s required in spec_helper.rb). I'...
2007 Apr 11
13
View Specs Fail with "protected method render"
I''ve got rspec and zentest installed as well as the rspec rails plugin, and
my model/controller specs all pass and work well. I can''t seem to get views
to work though - 100% of the specs fail with:
NoMethodError in ''/users/show.rhtml should render attributes in <p>''
protected method `render'' called for
#<Spec::Rails::Runner::ViewSpecController:0x3197df...
2007 May 24
15
Specs for code stored in rails_app/lib/
Where should the specs go for code in the "lib" directory of a Rails
app?
I made a folder, "spec/lib/", for storing such specs, and RSpec
automatically picks them up when run using "rake spec".
Before I go ahead and patch rspec_on_rails/lib/autotest/
rails_rspec.rb so that autotest ca...
2010 Feb 15
0
[LLVMdev] Measurements of the new inlinehint attribute
Friday I enabled the inlinehint function attribute in the inliner. It mostly affects the performance of -Os compiled code. I have made some measurements on the SPEC test suite to show what it means.
I made three runs of then nightly tests. The baseline represents -Os with no inlinehint:
make TEST=nightly OPTFLAGS=-Os EXTRA_LOPT_OPTIONS=-inlinehint-threshold=0
2007 Jul 14
8
Specing Layouts
Hi,
I''ve just started to try and spec my application.html.erb layout as one of
the view specs but it totally barfs.
I''m guessing that it''s due to the yield statements in the layout.
Any clues as to how to proceed?
Cheers
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070715/...
2009 Oct 07
1
rake spec does not run specs -- just writes to spec.opts directory
I am having an issue on my integration server currently. When I run
rake spec locally my specs run and all is good but when I run rake
spec in on my integration box I get the following output
Options written to spec/spec.opts. You can now use these options with:
spec --options spec/spec.opts
When I run spec --options spec.opts I get the same message.
script/spec and others all do the same...
2007 Oct 17
16
rspec causing validates_presence_of to validate twice?
I had posted this on the regular Rails list, but upon trying this in
script/console, it seems like the behavior only exists when running rspec.
I''m getting some weird behavior in one of my models. I have a model
defined something like this
class User < ActiveRecord::Base
attr_accessor :password
validates_presence_of :password
end
If I validate the model without specifying a