Minor issue with Pending test in Hartl 6.8

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

4 thoughts on “Minor issue with Pending test in Hartl 6.8”

  1. 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?

    Reply

Leave a Comment