Sha256: 45d3b3589c4bf710d31623780e3e02d3a94fda98d6f7bf98f76e934579952666

Contents?: true

Size: 237 Bytes

Versions: 19

Compression:

Stored size: 237 Bytes

Contents

describe User do

  before(:each) { @user = User.new(email: 'user@example.com') }

  subject { @user }

  it { should respond_to(:email) }

  it "#email returns a string" do
    expect(@user.email).to match 'user@example.com'
  end

end

Version data entries

19 entries across 16 versions & 2 rubygems

Version Path
rails_apps_testing-0.3.13 lib/generators/testing/configure/templates/spec/devise/models/user_spec.rb
rails_apps_testing-0.3.12 lib/generators/testing/configure/templates/spec/devise/models/user_spec.rb
rails_apps_testing-0.3.11 lib/generators/testing/configure/templates/spec/devise/models/user_spec.rb
rails_apps_testing-0.3.10 lib/generators/testing/configure/templates/spec/devise/models/user_spec.rb
rails_apps_testing-0.3.9 lib/generators/testing/configure/templates/spec/devise/models/user_spec.rb
rails_apps_testing-0.3.8 lib/generators/testing/configure/templates/spec/devise/models/user_spec.rb
rails_apps_testing-0.3.7 lib/generators/testing/configure/templates/spec/devise/models/user_spec.rb
rails_apps_testing-0.3.6 lib/generators/testing/configure/templates/spec/devise/models/user_spec.rb
rails_apps_testing-0.3.5 lib/generators/testing/configure/templates/spec/devise/models/user_spec.rb
rails_apps_testing-0.3.4 lib/generators/testing/configure/templates/spec/devise/models/user_spec.rb
rails_apps_testing-0.3.4 lib/generators/testing/configure/templates/spec/omniauth/models/user_spec.rb
rails_apps_testing-0.3.3 lib/generators/testing/configure/templates/spec/omniauth/models/user_spec.rb
rails_apps_testing-0.3.3 lib/generators/testing/configure/templates/spec/devise/models/user_spec.rb
rails_apps_testing-0.3.2 lib/generators/testing/configure/templates/spec/devise/models/user_spec.rb
rails_apps_testing-0.3.2 lib/generators/testing/configure/templates/spec/omniauth/models/user_spec.rb
rails_apps_testing-0.3.1 lib/generators/testing/configure/templates/spec/devise/models/user_spec.rb
rails_apps_pages-0.4.9 lib/generators/pages/users/templates/spec/models/user_spec.rb
rails_apps_pages-0.4.8 lib/generators/pages/users/templates/spec/models/user_spec.rb
rails_apps_pages-0.4.7 lib/generators/pages/users/templates/spec/models/user_spec.rb