spec/capucine/capucine_spec.rb in capucine-0.2.5 vs spec/capucine/capucine_spec.rb in capucine-0.2.9
- old
+ new
@@ -30,13 +30,13 @@
@cap.settings.should_not eq(nil)
@cap.settings.working_dir.should eq(Dir.pwd)
@cap.settings.user_config_file.should_not eq(nil)
@cap.settings.conf.should_not eq(nil)
- @cap.settings.conf['sass'].should eq(true)
- @cap.settings.conf['coffee'].should eq(false)
- @cap.settings.conf['incloudr'].should eq(false)
+ @cap.settings.conf['use_compass'].should eq(true)
+ @cap.settings.conf['use_coffeescript'].should eq(false)
+ @cap.settings.conf['use_incloudr'].should eq(false)
end
it '#init from command line' do
@cap.run_command(['i'])
@@ -112,15 +112,15 @@
it '#new, set coffee, compile' do
@cap.run_command(['n'])
Dir.chdir('capucine')
- @cap.settings.conf['coffee'].should eq(false)
+ @cap.settings.conf['use_coffeescript'].should eq(false)
@cap.run_command(['c', @config_user_coffee])
-
@cap.settings.user_config_file.should_not eq(nil)
- @cap.settings.conf['coffee'].should eq(true)
+
+ @cap.settings.conf['use_coffeescript'].should eq(true)
coffee = File.expand_path(File.join @cap.settings.working_dir, 'public/js_generated/app.js')
coffee2 = File.expand_path(File.join @cap.settings.working_dir, 'public/js_generated/app.min.js')
File.exist?(coffee).should eq(true)
\ No newline at end of file