Skip to content

Commit

Permalink
! integration specs of generated project
Browse files Browse the repository at this point in the history
  • Loading branch information
floere committed Aug 11, 2011
1 parent 440b9a7 commit db4c759
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions generators/prototypes/server/unicorn/spec/integration_spec.rb
Expand Up @@ -18,11 +18,11 @@

# Testing a specific order of result ids.
#
it { books.search('alan').ids.should == [259, 307, 449] }
it { books.search('alan').ids.should == [449, 259, 307] }

# Testing an order of result categories.
#
it { books.search('alan').should have_categories(['author'], ['title']) }
it { books.search('alan p').should have_categories(['author', 'title'], ['title', 'author']) }
it { books.search('alan').should have_categories(['title'], ['author']) }
it { books.search('alan p').should have_categories(['title', 'author'], ['author', 'title']) }

end
3 changes: 3 additions & 0 deletions integration
Expand Up @@ -136,6 +136,9 @@ begin
run_search_requests_on_client
open_client_in_browser

run_server_integration_tests
run_server_speed_tests

kill_server
delete_server_directory

Expand Down

0 comments on commit db4c759

Please sign in to comment.