mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-22 02:00:12 +01:00
Added Rspec and Webrat plugins and started porting Selenium on Rails tests to Rspec Plain Text Stories driving Webrat driving Selenium.
This commit is contained in:
parent
0600756bbf
commit
0f7d6f7a1d
602 changed files with 47788 additions and 29 deletions
19
vendor/plugins/rspec/spec/autotest/discover_spec.rb
vendored
Normal file
19
vendor/plugins/rspec/spec/autotest/discover_spec.rb
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
require File.dirname(__FILE__) + "/../autotest_helper"
|
||||
|
||||
module DiscoveryHelper
|
||||
def load_discovery
|
||||
require File.dirname(__FILE__) + "/../../lib/autotest/discover"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
class Autotest
|
||||
describe Rspec, "discovery" do
|
||||
include DiscoveryHelper
|
||||
|
||||
it "should add the rspec autotest plugin" do
|
||||
Autotest.should_receive(:add_discovery).and_yield
|
||||
load_discovery
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue