mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
Reorganized the Specs subdirectories to mirror the layout of Code/. Added new rake task for running the test server. Introduced dependence on Shotgun and Thin for the Spec server. Infrastructure is all in place, now to get the tests themselves healthy.
This commit is contained in:
6
Rakefile
6
Rakefile
@@ -29,6 +29,12 @@ namespace :uispec do
|
||||
uispec_runner = UISpecRunner.new(options)
|
||||
uispec_runner.run_protocol!('UISpecIntegration')
|
||||
end
|
||||
|
||||
desc "Run the Spec server via Shotgun"
|
||||
task :server do
|
||||
server_path = File.dirname(__FILE__) + '/Specs/Server/server.rb'
|
||||
system("shotgun --port 4567 #{server_path}")
|
||||
end
|
||||
end
|
||||
|
||||
desc "Run all specs"
|
||||
|
||||
Reference in New Issue
Block a user