Sha256: 0ff3fd36e0643182eefad72451597364aed1cdc0390c8f111f2fd6ba77a6d0d0

Contents?: true

Size: 287 Bytes

Versions: 5

Compression:

Stored size: 287 Bytes

Contents

# (c) 2017 Ribose Inc.
#

require "spec_helper"

RSpec.describe AttrMasker::Model do
  it "extends every class and provides class methods" do
    c = Class.new
    expect(c).to respond_to(:attr_masker)
    expect(c.singleton_class.included_modules).to include(described_class)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
attr_masker-0.3.1 spec/unit/model_spec.rb
attr_masker-0.3.0 spec/unit/model_spec.rb
attr_masker-0.2.1 spec/unit/model_spec.rb
attr_masker-0.2.0 spec/unit/model_spec.rb
attr_masker-0.1.1 spec/unit/model_spec.rb