Sha256: 04fc720ba450e5c5313cbcbfee735857e46b4e11ec38aca9965720ec17acef94
Contents?: true
Size: 466 Bytes
Versions: 17
Compression:
Stored size: 466 Bytes
Contents
require 'test_helper' class FlixCloud::ParametersTest < Test::Unit::TestCase context "When validating a parameters object with no attributes set" do setup do @parameters = FlixCloud::Parameters.new @parameters.valid? end should "require user" do assert_match /user is required/, @parameters.errors.to_s end should "require password" do assert_match /password is required/, @parameters.errors.to_s end end end
Version data entries
17 entries across 17 versions & 3 rubygems