Permalink
Browse files

test fix

  • Loading branch information...
1 parent 5986d1a commit 1addc22a8303f38e71a3295b4e57df0ceadba640 @kares committed Mar 11, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 test/settings_test.rb
View
@@ -423,8 +423,12 @@ def pub; end
describe 'server' do
it 'is one of trinidad, thin, puma, mongrel, webrick' do
- assert_equal %w[trinidad thin puma mongrel webrick], @base.server
- assert_equal %w[trinidad thin puma mongrel webrick], @application.server
+ @base.server.each do |server|
+ assert %w[trinidad thin puma mongrel webrick].include?(server)
+ end
+ @application.server.each do |server|
+ assert %w[trinidad thin puma mongrel webrick].include?(server)
+ end
end
end

0 comments on commit 1addc22

Please sign in to comment.