spec/lib/generators/partial_generator_spec.rb in picky-2.7.0 vs spec/lib/generators/partial_generator_spec.rb in picky-3.0.0.pre1

- old
+ new

@@ -1,14 +1,14 @@ require 'spec_helper' -describe Generators::PartialGenerator do +describe Picky::Generators::PartialGenerator do context 'integration' do it 'should generate the correct values with a given strategy' do generator = described_class.new :meier => [1], :maier => [2] - generator.generate(Generators::Partial::Substring.new).should == { + generator.generate(Picky::Generators::Partial::Substring.new).should == { :meier => [1], :meie => [1], :mei => [1], :me => [1], :m => [1, 2], @@ -19,10 +19,10 @@ } end it 'should generate the correct values with a given specific strategy' do generator = described_class.new :meier => [1], :maier => [2] - generator.generate(Generators::Partial::Substring.new(:from => 3)).should == { + generator.generate(Picky::Generators::Partial::Substring.new(:from => 3)).should == { :meier => [1], :meie => [1], :mei => [1], :maier => [2], :maie => [2], \ No newline at end of file