Capybara test output doesn't match spec

When I run a test, the output reads like this:

expected #has_content?("Nevermind") to return true, got false

That's fine--makes sense. But the spec reads like so:

    it "should have the content 'Nevermind'" do
      visit '/pages/home'
      expect(page).to have_content('Nevermind')
    end


I have the following in my Gemfile:

group :development, :test do
  gem 'rspec-rails'
  gem 'spork-rails', github: 'sporkrb/spork-rails'
  gem 'guard-spork'
  gem 'childprocess'
end


group :test do
  gem 'selenium-webdriver'
  gem 'capybara'
end


group :production do
  gem 'rails_12factor'
end


Is this just the way RubyMine rolls? Should the output verbiage match the spec? Or is something wrong?
0
1 comment

Thanks, everyone, for being kind enough not to tell me that this was a really stupid question.

I checked this as, "Yes, my question has been answered." Suggestion: include an option for, "My question should never have been asked."

Hate it when I do that....

0

Please sign in to leave a comment.