Sha256: b89c41acbe99af7b9a879c1139fe7118cb382d316a1ad13ae7f9c758196a299b
Contents?: true
Size: 614 Bytes
Versions: 15
Compression:
Stored size: 614 Bytes
Contents
require 'spec_helper' module IcalImporter describe DateExclusion do subject { DateExclusion.new(date) } describe "#initialize" do describe "set the one valid attribute" do let(:date) { "yerp" } it "sets the date exlcusion" do subject.date_exclusion.should == "yerp" end end describe "try to set valid/invalid attributes" do let(:date) { "yerp" } it "sets the date exlcusion" do subject.date_exclusion.should == "yerp" expect { subject.not_me }.to raise_error(NoMethodError) end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems