Hi all,
I'm on Hartl Rails 4.0 Chapter 6.8; I'm getting a "Pending test" for this and am not sure why. Any ideas?
Test:
require 'spec_helper'
describe User do
before do
@user = User.new(name: "Example User", email: "[email protected]")
end
subject { @user }
it { should respond_to(:name) }
it { should respond_to(:email) }
it { should be_valid }
Rspec output:
....*........
Pending:
User add some examples to (or delete) /Users/piratebroadcast/rails_studio/messages/spec/models/user_spec.rb
# No reason given
# ./spec/models/user_spec.rb:4
Finished in 1.64 seconds
13 examples, 0 failures, 1 pending
Can you put the whole file on a [gist](http://gist.github.com)?
you aren’t missing the ‘end’ statement for your ‘describe user do’ are you?
**Edit:** nvm, saw gist file
That message is the default pending message that gets put there on generation. Did you happen to remove it and then forget to save the file?
You’re either looking at the wrong file or you haven’t saved the file.