Sha256: 7848615eb8da1d28672b5dce78db452be69500c9e39c8ba6e4661e1ec76ace5d

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

require 'helper'

class AuthorizationTest < ActiveSupport::TestCase

  context "The Authorization class" do

    should "have a list of attributes that are hashable" do
      expected_columns = %w( id uid token expires_at ).sort

      assert_equal expected_columns, Authorization.hashable_attributes.sort
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
challah-1.0.0 test/authorization_test.rb
challah-1.0.0.beta3 test/authorization_test.rb