Hey all, My Rspec test fail with the error: syntax error, unexpected kEND, expecting $end (SyntaxError)
After significant troubleshooting, I figured out that I ne开发者_StackOverflow中文版eded to run rake spec once (I can abort with control-c) before I can run rspec directly (e.g. on a subset of our spe
I\'ve got a problem with Spork test server. If I set config.cache_classes = false in config/environments/test.rb then specs start to rasie errors.
Maybe this isn\'t something that needs to be tested against, but I\'m learning so I don\'t think its wrong to test to the max.
I\'m a bit confused with the behavior of rpsec tests involving controller methods that affect the DB. I have seen many examples of rspec tests that involve POST\'s and DELETE\'s where people check to
I have the following RSpec test for my UserMailer class: require \"spec_helper\" describe UserMailer do
I have a suite of RSpec tests I want to group under the following hierarchy: tests/ featA/ t1.rb t2.rb featB/
I\'m working with an array that looks like this: cards = [#<Cardshark::Card:0x9200cc @rank=:ace, @suit=:coins>, etc]
If I have a Devise model User, of which only those users with role :admin are allowed to view a certain url, how can I write an RSpec integration test to check that the status returns 200 for that url
I have an obvious error in my Rails 3 application.I was in the process of changing a field name from \"addr1\" to \"address\" (in my \"agency\" model).So naturally when I try to pull up the edit page