I\'m using the acts_as_taggable_on gem and monkeypatching ActsAsTaggableOn::Tag in an intitializer (config/initializers/acts_as_taggable_on.rb). I wrote a spec for my code and put it in spec/models/ta
I\'m a newbie in RSpec, I have this controller in my ruby on rails code def create @article = current_user.articles.build params[:article]
WIth ruby 1.8.7 and rails 3.0.3 on Mac OS I always got \"&#...;\" characters in ERB template output running rspec 2.4 controllers tests (with integrate_views).
I have a message class, which can be initialized by passing arguments into the constructor, or by passing no arguments and then setting the attributes later with accessors. There is some pre-processin
I rem开发者_StackOverflow中文版ember a conflict in the past between the Rspec 1.x and Rspec 2.x binaries... since the binary has been renamed from \'spec\' to \'rspec\', can they now co-exist on the s
In my ApplicationController I have a method defined as a helper method: helper_method :some_meth开发者_StackOverflow中文版od_here
I am trying to run some functional test on a small server I have created. I am running Ruby 1.9.2 and RSpec 2.2.1 on Mac OS X 10.6. I have verified that the server works correctly and is not causing t
I am trying to get going with development of view components with Rspec2 and Rails3. However, I make the following observation, and I don\'t understand what is going on, and how to fix this.
Creating some controller tests with RSpec, I find myself repeating several test cases for every possible user role.
I\'m trying to spec the controller code: # ClustersController def create # create new cluster @cluster.user = current开发者_如何学C_user