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.1.4 spec/models/user_spec.rb
fluentd-ui-0.1.3 spec/models/user_spec.rb
fluentd-ui-0.1.2 spec/models/user_spec.rb
fluentd-ui-0.1.1 spec/models/user_spec.rb
fluentd-ui-0.1.0 spec/models/user_spec.rb