Skip to content

Commit

Permalink
Add thor spec
Browse files Browse the repository at this point in the history
  • Loading branch information
bootstraponline committed May 12, 2015
1 parent 5ddfb2c commit 2554992
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Thorfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
require 'rubygems'
require 'appium_thor'

Appium::Thor::Config.set do
gem_name 'angular_webdriver'
github_owner 'bootstraponline'
end
end

# Must use '::' otherwise Default will point to Thor::Sandbox::Default
# Debug by calling Thor::Base.subclass_files via Pry
#
# https://github.com/erikhuda/thor/issues/484
#
class ::Default < Thor
desc 'spec', 'Run RSpec tests'
def spec
exec 'rspec spec'
end
end

0 comments on commit 2554992

Please sign in to comment.