Skip to content

Commit

Permalink
Fix ruby 1.8.7 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
JDutil committed Aug 1, 2011
1 parent 345930c commit cf5a9c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/lib/install_spec.rb
Expand Up @@ -17,9 +17,9 @@
@destination_root = File.expand_path("../../dummy", __FILE__)
File.exists?(@destination_root + "/config/initializers/contact_us.rb").should eql(false)
File.exists?(@destination_root + "/config/locales/contact_us.en.yml").should eql(false)
Dir.exists?(@destination_root + "/app/views/contact_us").should eql(false)
Dir.exists?(@destination_root + "/app/views/contact_us/contact_mailer").should eql(false)
Dir.exists?(@destination_root + "/app/views/contact_us/contacts").should eql(false)
File.directory?(@destination_root + "/app/views/contact_us").should eql(false)
File.directory?(@destination_root + "/app/views/contact_us/contact_mailer").should eql(false)
File.directory?(@destination_root + "/app/views/contact_us/contacts").should eql(false)

silence_stream(STDOUT) { ContactUs::Tasks::Install.run }
end
Expand Down

0 comments on commit cf5a9c1

Please sign in to comment.