shoulda
How to make 'Shoulda' test output easier to read and in Colour!
I currently working on a project which uses Spree Cart and which has hence forced me to switch from testing with RSpec to testing with Shoulda.[详细]
2023-01-06 03:34 分类:问答Shoulda rspec matchers :on => :create
I am using some of the Shoulda rspec matchers to the test my model, one of them being: describe Issue do[详细]
2023-01-04 19:55 分类:问答Errors with RSpec, Shouda, and Rails 3: undefined method `response_code'
I\'m not开发者_如何转开发 sure why I am getting these errors, seemingly only on the Shoulda matcher tests.Any advice would be helpful.[详细]
2023-01-04 17:40 分类:问答why should_change macro causes deprecation warning in shoulda 2.11.0
DEPRECATION WARNING: You are using deprecated behavio开发者_C百科r which will be removed from the next major or minor release. (called from should_change at /usr/local/lib/ruby/gems/1.8/gems/shoulda-2[详细]
2023-01-04 05:10 分类:问答Action works, but test doesn't (Shoulda)
I am trying to test my update action in Rails with this: context \"on PUT to :update\" do setup do @countdown = Factory(:countdown)[详细]
2023-01-03 18:38 分类:问答Rails shoulda and factory_girl setup
I have installed both shoulda and factory_girl, I can run shoulda just fine, but when I add this: require \'factory_girl\'[详细]
2023-01-02 09:26 分类:问答Autotest, Shoulda, Ruby - The Setup?
I am trying to get the whole setup working with Autotest/Growl/Shoulda on my Mac to test a gem I\'m working on for Authlogic.I\'ve used RSpec in the past quite a bit but would like to switch to Should[详细]
2022-12-29 22:25 分类:问答How do I setup and utilize Shoulda, Factory_Girl, and Cucumber in a Rails 3 application?
I\'m able to get my Gemfile how I like it: # Gemfile source \"http:开发者_如何学运维//gemcutter.org\"[详细]
2022-12-29 04:25 分类:问答when does factory girl create objects in db?
I am trying to simulate a session using FactoryGirl/shoulda (it worked with fixtures but i am having problems with using factories). I have following factories (user login and email both have unique v[详细]
2022-12-28 02:29 分类:问答Shoulda: How would I use an instance variable outside of a setup or should block?
I\'m trying to do something like the following: @special_attributes = Model.new.methods.select # a special subset[详细]
2022-12-27 23:45 分类:问答
加载中,请稍侯......