spec/rake/funnel/extensions/case/pascal_case_spec.rb in rake-funnel-0.3.2.pre vs spec/rake/funnel/extensions/case/pascal_case_spec.rb in rake-funnel-0.4.0.pre

- old
+ new

@@ -1,17 +1,17 @@ -describe Rake::Funnel::Extensions::PascalCase do - it 'should convert strings' do - expect('foo'.pascalize).to eq('Foo') - end - - it 'should convert strings with underscores' do - expect('foo_bar'.pascalize).to eq('FooBar') - end - - it 'should convert symbols to string' do - expect(:foo.pascalize).to eq('Foo') - end - - it 'should convert symbols with underscores' do - expect(:foo_bar.pascalize).to eq('FooBar') - end -end +describe Rake::Funnel::Extensions::Case::PascalCase do + it 'should convert strings' do + expect('foo'.pascalize).to eq('Foo') + end + + it 'should convert strings with underscores' do + expect('foo_bar'.pascalize).to eq('FooBar') + end + + it 'should convert symbols to string' do + expect(:foo.pascalize).to eq('Foo') + end + + it 'should convert symbols with underscores' do + expect(:foo_bar.pascalize).to eq('FooBar') + end +end