spec/generator/generator_spec.rb in rhosync-2.1.1 vs spec/generator/generator_spec.rb in rhosync-2.1.2
- old
+ new
@@ -19,9 +19,10 @@
before(:each) do
@generator = Rhosync::AppGenerator.new('/tmp',{},appname)
end
it "should create new application files" do
+ SecureRandom.should_receive(:hex).with(64).any_number_of_times
[
'config.ru',
"application.rb",
'settings/settings.yml',
'settings/license.key',
\ No newline at end of file