Sha256: a1fadb9171818278840cf6a4d0a30b52278d68d71b64ad8af843aa14a9595091

Contents?: true

Size: 247 Bytes

Versions: 5

Compression:

Stored size: 247 Bytes

Contents

require 'spec_helper'

describe Thing do

  it { should_not expose(:field_b).to(:default) }
  it { should_not expose(:field_c)              }
  it { should     expose(:field_a)              }
  it { should     expose(:field_b).to(:admin)   }

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
accessible_attribute_matcher-1.0.1 spec/thing_spec.rb
accessible_attribute_matcher-1.0.0 spec/thing_spec.rb
accessible_attribute_matcher-0.0.3 spec/thing_spec.rb
accessible_attribute_matcher-0.0.2 spec/thing_spec.rb
accessible_attribute_matcher-0.0.1 spec/thing_spec.rb