after upgrading cucumber to 5.1 be_true and be_false are undefined
switching to == true or == false works.
??? thanks.
Then there is an invalid item with 1 "upc"
error # features/step_definitions/extract_steps.rb:
56
undefined method `be_true' for
#<ActionController::Integration::Session:0x104bc7820> (NoMethodError)
./features/step_definitions/extract_steps.rb:45:in `/^retrieve
file$/'
Then /^retrieve file$/ do
basename = File.basename(@filename)
ExtractReport.exists?(:file_name => basename).should ==
true **** this is line 45
@file = ExtractReport.find_by_file_name(basename)
count = @file.record_count.to_i - 2 # count includes header and
trailer
@file.should have(count).items
end
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users