Displaying 1 result from an estimated 1 matches for "competitionspechelper".
2007 Mar 02
2
database modifications not rolling back
...ished the test database is populated entirely
with all the records I have created, whereas on 0.7.5.1 I''d find this
database completely empty on completion.
FYI - I''m using Rspec 0.8.2 with matching revision of rspec_on_rails,
Rails 1.2.2 and Mysql.
spec_helper.rb
module CompetitionSpecHelper
def new_competition
code_to_create_a_new_competition
return the competition
end
end
competition_spec.rb
require File.dirname(__FILE__) + ''/../spec_helper''
context "Given a visible competition" do
include CompetitionSpecHelper
setup do
@c...