Sha256: 526df8c5ef843387808de692776c3255569e0a7686a345f45691f3d42097ba8a
Contents?: true
Size: 593 Bytes
Versions: 5
Compression:
Stored size: 593 Bytes
Contents
require 'spec_helper' describe RailsTemplater::FixtureReplacement do context "Fixture Replacement type has not been set" do its(:type) { should == :factory_girl } end context "Fxiture Replacement type has been set to FactoryGirl" do before(:each) do subject.type = :factory_girl end it { should be_factory_girl } end describe "#type" do it "allows setting of only supported Fixture Replacements" do expect { subject.type = :fixture }.to raise_error(RailsTemplater::NotSupportedError) end end end
Version data entries
5 entries across 5 versions & 1 rubygems