Sha256: 497054db07fd31994ef03c39438c18f1464a90e07e5799bb6a8ee080421181e8

Contents?: true

Size: 213 Bytes

Versions: 10

Compression:

Stored size: 213 Bytes

Contents

require_relative '../../../spec_helper'
require_relative '../factories/user'

describe User do

  it "create user" do
    lambda{
      FactoryGirl.create(:user)
    }.should change(User, :count).by(1)
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
validates_overlap-0.6.0 spec/dummy/spec/models/user_spec.rb
validates_overlap-0.5.2 spec/dummy/spec/models/user_spec.rb
validates_overlap-0.5.1 spec/dummy/spec/models/user_spec.rb
validates_overlap-0.5.0 spec/dummy/spec/models/user_spec.rb
validates_overlap-0.4.0 spec/dummy/spec/models/user_spec.rb
validates_overlap-0.3.0 spec/dummy/spec/models/user_spec.rb
validates_overlap-0.2.0 spec/dummy/spec/models/user_spec.rb
validates_overlap-0.1.3 spec/dummy/spec/models/user_spec.rb
validates_overlap-0.1.2 spec/dummy/spec/models/user_spec.rb
validates_overlap-0.1.1 spec/dummy/spec/models/user_spec.rb