Sha256: baee0542186d6f78d7b4416cbfabae54bf0bf6cc322faa4764439936e5505c1b

Contents?: true

Size: 492 Bytes

Versions: 1

Compression:

Stored size: 492 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "rack/guest-list" do
  context "(placeholder functionality, will be removed)" do
    it "should accept (almost) any username with any password" do
      Rack::GuestList.verify("username", "password").should be_true
    end

    it "should reject nil or empty usernames" do
      Rack::GuestList.verify(nil, "something").should be_false
      Rack::GuestList.verify("", "something").should be_false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kissifer-rack-guest-list-0.0.0 spec/rack-guest-list_spec.rb