Sha256: 38030596599ff61cd210f2c13fd3850b9c132a536c456ae393e5b5ce305b7637

Contents?: true

Size: 217 Bytes

Versions: 8

Compression:

Stored size: 217 Bytes

Contents

describe User do

  before(:each) { @user = FactoryGirl.create(:user) }

  subject { @user }

  it { should respond_to(:name) }

  it "#name returns a string" do
    expect(@user.name).to match 'Test User'
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails_apps_testing-0.3.12 lib/generators/testing/configure/templates/spec/omniauth/models/user_spec.rb
rails_apps_testing-0.3.11 lib/generators/testing/configure/templates/spec/omniauth/models/user_spec.rb
rails_apps_testing-0.3.10 lib/generators/testing/configure/templates/spec/omniauth/models/user_spec.rb
rails_apps_testing-0.3.9 lib/generators/testing/configure/templates/spec/omniauth/models/user_spec.rb
rails_apps_testing-0.3.8 lib/generators/testing/configure/templates/spec/omniauth/models/user_spec.rb
rails_apps_testing-0.3.7 lib/generators/testing/configure/templates/spec/omniauth/models/user_spec.rb
rails_apps_testing-0.3.6 lib/generators/testing/configure/templates/spec/omniauth/models/user_spec.rb
rails_apps_testing-0.3.5 lib/generators/testing/configure/templates/spec/omniauth/models/user_spec.rb