(Using Hartl's Tutorial) I went through chapter 3 without any problems using rspec to test but after I finished up the section, merged branches, etc - I can no longer run the rspec tests. I'm on chapter 4 trying to do the first set of testing but I get the follow error:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rspec-core-2.10.1/lib/rspec /core/configuration.rb:746:in
load': C:/Sites/rails_projects/sample_app/spec/re quests/static_pages_spec.rb:61: syntax error, unexpected $end, expecting keyword _end (SyntaxError) from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rspec-core-2.1 0.1/lib/rspec/core/configuration.rb:746:in
block in load_spec_files' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rspec-core-2.1 0.1/lib/rspec/core/configuration.rb:746:inmap' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rspec-core-2.1 0.1/lib/rspec/core/configuration.rb:746:in
load_spec_files' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rspec-core-2.1 0.1/lib/rspec/core/command_line.rb:22:inrun' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rspec-core-2.1 0.1/lib/rspec/core/runner.rb:69:in
run' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rspec-core-2.1 0.1/lib/rspec/core/runner.rb:10:in `block in autorun'
What could be the problem? I tried running rails generate rspec:install and tried again but with no luck.
static_pages_spec
, that might help. – zetetic