rspec
rubymine only able to run model tests one by one
I am able to right-click on any of my 3 spec/models but when I right click the spec/models folder and select \'run all tests in models\' I get \'Unable to attach test reporter to test framework\'.[详细]
2023-04-08 13:08 分类:问答Rspec with rails 3.1 gives DEPRECATION WARNING ActiveRecord::Associations::AssociationCollection is deprecated?
I upgraded to rails 3.1 and I have some problems with my tests now that worked perfectly before. I get the following warning before the tests:[详细]
2023-04-08 06:46 分类:问答Why isn't my tests working for this form?
In Firefox, if I try to submit a post without a title, I get: 1 error prohibited this post from being saved.[详细]
2023-04-08 06:05 分类:问答How to make a class object instance to return a predefined value?
I am using Ruby on Rails 3.1.0 and the rspec-rails 2 gem. I am testing my controller code (BTW: I am newbie to rspec) and I would like to make possible that a class object instance returns a predefine[详细]
2023-04-08 06:00 分类:问答Rails 3 tutorial Ch. 10.6 ex 5 rspec failure
In solving exercise 5, I ran into a similar issue as this question. I refactored based on the answer given to that question but am still receiving the failure:[详细]
2023-04-08 05:21 分类:问答Run selenium on a remote server
I am writing integration test for one of my project, usi开发者_Go百科ng the following gems for the same, rspec, capybara and selenium.[详细]
2023-04-08 04:32 分类:问答Running parallel selenium tests with capybara
Background: I have a set of Capybara integration tests running against my Rails 3 Application. For the other parts of the test suite I\'m using Rspec.[详细]
2023-04-08 03:51 分类:问答Trouble on testing a JavaScript redirection
I am using Ruby on Rails 3.1.0 and the rspec-rails 2 gem. I would like to test a JavaScript redirection but I am some trouble on doing that.[详细]
2023-04-08 00:44 分类:问答Rspec newbie question
I was looking at some rspec sample code and came across this - lambda { @my_object.function }.should raise_error(ArgumentError, \"Unknown tag type\")[详细]
2023-04-07 12:41 分类:问答Run an rspec "before" block before rails initializers run
I would like to run an开发者_高级运维 rspec before block to set some stuff up before the Rails initializers run, so I can test what an initializer should be doing.Is this possible?If the logic in your[详细]
2023-04-07 10:21 分类:问答