Skip to content

Commit

Permalink
Merge pull request #4 from nilbus/fix-specs
Browse files Browse the repository at this point in the history
Remove old specs left over from daemons_directory
  • Loading branch information
mirasrael committed Jan 7, 2013
2 parents be91c02 + c78bc33 commit 54eaef0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spec/lib/daemons/rails/configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
describe "rails env" do
its(:root) { should == Rails.root }
its(:daemons_path) { should == Rails.root.join('lib', 'daemons') }
its(:daemons_path) { should == Pathname.new('lib').join('daemons') }
end

describe "no rails" do
Expand All @@ -26,7 +25,6 @@
end
its(:root) { should == Rails_.root }
its(:daemons_path) { should == Rails_.root.join('lib', 'daemons') }
its(:daemons_path) { should == Pathname.new('lib').join('daemons') }
end
end

Expand All @@ -42,11 +40,10 @@
end

its(:daemons_path) { should == Rails.root.join('daemons') }
its(:daemons_path) { should == Pathname.new('daemons') }

it "should override daemons directory" do
Daemons::Rails::Monitoring.daemons_path.should == Rails.root.join('daemons')
Daemons::Rails::Monitoring.controllers.map(&:app_name).should == %w(test2.rb)
end
end
end
end

0 comments on commit 54eaef0

Please sign in to comment.