Sha256: 65bc8158f70a233e4137b09ea88edf72a6f991cef7ff74194323c52ade8ad551
Contents?: true
Size: 1.02 KB
Versions: 4
Compression:
Stored size: 1.02 KB
Contents
RSpec.shared_examples "Resource" do it "inherits from Resource" do expect(described_class.ancestors).to include Printfection::Resource end end RSpec.shared_examples "Actions::Retrieve" do it "includes the Actions::Retrieve module" do expect(described_class.ancestors).to include Printfection::Actions::Retrieve end end RSpec.shared_examples "Actions::List" do it "includes the Actions::List module" do expect(described_class.ancestors).to include Printfection::Actions::List end end RSpec.shared_examples "Actions::Create" do it "includes the Actions::Create module" do expect(described_class.ancestors).to include Printfection::Actions::Create end end RSpec.shared_examples "Actions::Update" do it "includes the Actions::Update module" do expect(described_class.ancestors).to include Printfection::Actions::Update end end RSpec.shared_examples "Actions::Delete" do it "includes the Actions::Delete module" do expect(described_class.ancestors).to include Printfection::Actions::Delete end end
Version data entries
4 entries across 4 versions & 1 rubygems