Sha256: 16fd72e63c6072c3f9bdd859229b9bf5aeb208bcd18ac7d4dec07503ccf4de1d
Contents?: true
Size: 394 Bytes
Versions: 4
Compression:
Stored size: 394 Bytes
Contents
require "spec_helper" RSpec.describe ReadActivity::Module do describe "#acts_as_reader" do it "should register self as klass of reader" do expect(ReadActivity::Reader.klass).to eq(User) end end describe "#acts_as_readable" do it "should register self as klass of readable" do expect(ReadActivity::Readable.klasses.include?(Article)).to eq(true) end end end
Version data entries
4 entries across 4 versions & 1 rubygems