Sha256: ef28e084bd3a066990830251a0b024f940afb98274f4f3ae2540dba9be5afab7
Contents?: true
Size: 422 Bytes
Versions: 14
Compression:
Stored size: 422 Bytes
Contents
require 'spec_helper' describe ::Trax::Core::Concern do subject { ::SomeKlass } context "class including concern" do it { expect(subject.instance_variable_get(:@otherthing) ).to eq "otherthing" } it { expect(subject::SOMETHING).to eq "ANYTHING" } end context "module extending concern" do subject { ::SomeConcernConcern } it { expect(subject.some_mod_attribute ).to eq [ :Blahgity ] } end end
Version data entries
14 entries across 14 versions & 1 rubygems