Displaying 3 results from an estimated 3 matches for "examplegroupfactory".
Did you mean:
example_group_factory
2008 Jun 07
2
Rails integration tests without stories
...en''t
yet looked at the test/unit interop support, but maybe that would be
helpful here?
I tried to make an IntegrationExampleGroup akin to the other rails
example groups:
module Spec::Rails::Example
class IntegrationExampleGroup < ActionController::IntegrationTest
Spec::Example::ExampleGroupFactory.register(:integration, self)
end
end
describe ''GET /widgets'', :type => :integration do
it "should ..." do
get ''/widgets''
[...]
end
end
This roughly seems to work for the integration tests (I''d still need
to add in transactions...
2010 Sep 22
0
rspec-rails 1.3.2 tests get loaded, but not executed
...e
I am running rspec-rails 1.3.2 with rails 2.3.9 on ruby 1.8.7
Unfortunately my tests don''t execute at all after i updated these gems
although i followed the update insturctions. After some debugging i
found that the describes and examples get created, but they never get
registered with ExampleGroupFactory.add_example_group and therefore
not executed when runner.run is called
This seems to be a rspec-rails issue only as i could execute the tests
for rspec 1.3.0
the gems i use:
*** LOCAL GEMS ***
rails (2.3.9)
rake (0.8.7)
rspec (1.3.0)
rspec-rails (1.3.2)
ruby-debug-base (0.10.3)
ruby-debug-ide (0....
2009 Feb 01
8
undefined method `inherit'' for Merb::Test::ExampleGroup
RSpeckers:
I''m trying to install this into a Merb-generated RSpec rig:
http://code.jeremyevans.net/doc/fixture_dependencies/
It requires inserting their test case into RSpec. This is the documented way to
do it:
describe ''Post'' do
inherit FixtureDependencies::SequelTestCase
And that leads to the syntax error in the subject line. (No stack trace is
available