spec/lib/internals/generators/partial/none_spec.rb in picky-1.4.3 vs spec/lib/internals/generators/partial/none_spec.rb in picky-1.5.0
- old
+ new
@@ -1,8 +1,11 @@
require 'spec_helper'
describe Internals::Generators::Partial::None do
+ it 'is not saved' do
+ described_class.new.saved?.should == false
+ end
it "has the right superclass" do
described_class.should < Internals::Generators::Partial::Strategy
end
it "returns an empty index" do
described_class.new.generate_from(:unimportant).should == {}
\ No newline at end of file