Sha256: 015b7760003757937933e96e2e123f54b2af951812d8701179287040841b6c10

Contents?: true

Size: 311 Bytes

Versions: 25

Compression:

Stored size: 311 Bytes

Contents

require 'spec_helper'

describe User do
  let(:user) { build(:user) }

  describe "#valid?" do
    describe "password" do
      it "password != password_confirmation is invalid" do
        user.password = "a"
        user.password_confirmation = "b"
        user.should_not be_valid
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
fluentd-ui-0.3.19 spec/models/user_spec.rb
fluentd-ui-0.3.18 spec/models/user_spec.rb
fluentd-ui-0.3.17 spec/models/user_spec.rb
fluentd-ui-0.3.16 spec/models/user_spec.rb
fluentd-ui-0.3.15 spec/models/user_spec.rb
fluentd-ui-0.3.14 spec/models/user_spec.rb
fluentd-ui-0.3.13 spec/models/user_spec.rb
fluentd-ui-0.3.12 spec/models/user_spec.rb
fluentd-ui-0.3.11 spec/models/user_spec.rb
fluentd-ui-0.3.10 spec/models/user_spec.rb
fluentd-ui-0.3.9 spec/models/user_spec.rb
fluentd-ui-0.3.8 spec/models/user_spec.rb
fluentd-ui-0.3.7 spec/models/user_spec.rb
fluentd-ui-0.3.6 spec/models/user_spec.rb
fluentd-ui-0.3.5 spec/models/user_spec.rb
fluentd-ui-0.3.3 spec/models/user_spec.rb
fluentd-ui-0.3.2 spec/models/user_spec.rb
fluentd-ui-0.3.1 spec/models/user_spec.rb
fluentd-ui-0.3.0 spec/models/user_spec.rb
fluentd-ui-0.2.0 spec/models/user_spec.rb