Skip to content

Commit

Permalink
use https for rubygems and gitignore Gemfile.lock and add lib to test…
Browse files Browse the repository at this point in the history
… path
  • Loading branch information
jhsu committed Mar 18, 2013
1 parent 6f1b10e commit b80abc5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 45 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pkg
*.gem
.rbenv-version
.DS_Store
.DS_Store
Gemfile.lock
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
source "http://rubygems.org"
source "https://rubygems.org"
gemspec
37 changes: 0 additions & 37 deletions Gemfile.lock

This file was deleted.

4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Bundler::GemHelper.install_tasks
require "rake/testtask"

Rake::TestTask.new do |t|
t.libs << "test"
t.libs << "test" << "lib"
t.pattern = "test/**/*_test.rb"
end

task :default => :test
task :default => :test
8 changes: 4 additions & 4 deletions test/minitest_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
# the <tt>autorun</tt> method.
# https://github.com/seattlerb/minitest/blob/master/lib/minitest/autorun.rb

require 'rubygems'
require 'bundler/setup'

require 'minitest/autorun'

# This library has assertions and expectations already written that can help
# to test capistrano recipes.

require 'minitest-capistrano'

# Let's add capistrano, since that's what we need to deploy.

require 'capistrano'

# Load a default fixture capistrano object.

require File.expand_path(File.join(File.dirname(__FILE__), 'fixtures','recipes','default'))
require 'fixtures/recipes/default'

0 comments on commit b80abc5

Please sign in to comment.