You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding the gem to my Gemfile and restarting Guard, I get this:
WARNING: Global access to Rake DSL methods is deprecated. Please include
... Rake::DSL into classes and modules which use the Rake DSL methods.
WARNING: DSL method #<FactoryGirl::Declaration::Implicit:0x007fe8255310c8>#task called at /Users/josh/Documents/Work/MuheimWebdesign/tttt/spec/factories/positions.rb:5:in `block (2 levels) in <top (required)>'
WARNING: Global access to Rake DSL methods is deprecated. Please include
... Rake::DSL into classes and modules which use the Rake DSL methods.
WARNING: DSL method #<FactoryGirl::Declaration::Implicit:0x007fdb19f18370>#task called at /Users/josh/Documents/Work/MuheimWebdesign/tttt/spec/factories/positions.rb:5:in `block (2 levels) in <top (required)>'
And when running my specs (which pass withouth guard-rake), I get errors like this:
Failure/Error: let(:position) { create :position, name: 'Read some books', :task => nil }
ArgumentError:
Trait not registered: class
What's happening? I think I already used guard-rake in a FactoryGirl project before when this didn't happen...
The text was updated successfully, but these errors were encountered:
When adding the gem to my Gemfile and restarting Guard, I get this:
And when running my specs (which pass withouth guard-rake), I get errors like this:
What's happening? I think I already used guard-rake in a FactoryGirl project before when this didn't happen...
The text was updated successfully, but these errors were encountered: