forked from oesmith/puffing-billy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert railtie.rb to be generic again, browser driver name has to be …
…supplied explicitly
- Loading branch information
1 parent
1f5bc59
commit df2abd9
Showing
6 changed files
with
23 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# Deprecated | ||
require 'billy/browsers/capybara' | ||
require 'billy/init/railtie' | ||
module Billy | ||
class Railtie < Rails::Railtie | ||
railtie_name 'billy' | ||
|
||
Billy::Browsers::Capybara.register_drivers | ||
|
||
warn "[DEPRECATION] `require 'billy/railtie'` is deprecated. Please use `require 'billy/capybara/railtie'` instead." | ||
rake_tasks do | ||
load 'tasks/billy.rake' | ||
end | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters