Sha256: 3ddbe36ce5b95fbac0003361d9f60f16213c47ac72278bc4b1f2f4d8a49f8a86

Contents?: true

Size: 259 Bytes

Versions: 4

Compression:

Stored size: 259 Bytes

Contents

require 'cantango/config'
require 'fixtures/models'

require 'spec_helper'

class User
  tango_user
end

class EditorUser
  tango_user
end

describe CanTango::Macros::User do
  specify { CanTango.config.users.registered.should include(:user, :editor) }
end
  

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cantango-api-0.1.3 spec/cantango/api_ext/macros/user_spec.rb
cantango-api-0.1.2 spec/cantango/api_ext/macros/user_spec.rb
cantango-api-0.1.1 spec/cantango/api_ext/macros/user_spec.rb
cantango-api-0.1.0 spec/cantango/api_ext/macros/user_spec.rb