Sha256: 8e419a0a0d425898272869c70b1acc1358f074b1d084b2b9d947ad2210a52815
Contents?: true
Size: 599 Bytes
Versions: 8
Compression:
Stored size: 599 Bytes
Contents
require 'spec_helper' describe "Method Copiers" do shared_examples_for "method copier" do let(:klass) { Class.new } subject { isolate(described_class) } it { should respond_to(:all) } it { should respond_to(:get) } it { should respond_to(:remove) } it { should respond_to(:define) } end describe Bogus::InstanceMethods do it_behaves_like "method copier" end describe Bogus::ClassMethods do it_behaves_like "method copier" end describe Bogus::ActiveRecordAccessors do let(:instance_methods) { nil } it_behaves_like "method copier" end end
Version data entries
8 entries across 8 versions & 1 rubygems