Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add Gemfile

  • Loading branch information...
commit 1a738d9d6f297c105ae221e394d2598a8842df0b 1 parent 46fe474
@svenfuchs authored
Showing with 12 additions and 16 deletions.
  1. +2 −7 Gemfile
  2. +6 −7 minimal.gemspec
  3. +4 −2 test/test_helper.rb
View
9 Gemfile
@@ -1,7 +1,2 @@
-source 'http://gemcutter.org'
-
-gem 'actionpack', '>=3.0.0.beta2'
-
-group :test do
- gem 'test_declarative'
-end
+source :rubygems
+gemspec
View
13 minimal.gemspec
@@ -16,11 +16,10 @@ Gem::Specification.new do |s|
s.require_path = 'lib'
s.rubyforge_project = '[none]'
s.required_rubygems_version = '>= 1.3.6'
-
- rails_frameworks_version = '>=3.0.0.beta2'
-
- s.add_dependency 'actionpack', rails_frameworks_version
- s.add_dependency 'activesupport', rails_frameworks_version
-
+
+ rails_version = '>=3.0.0'
+ s.add_dependency 'actionpack', rails_version
+ s.add_dependency 'activesupport', rails_version
+
s.add_development_dependency 'test_declarative'
-end
+end
View
6 test/test_helper.rb
@@ -2,8 +2,10 @@
require 'rubygems'
require 'test/unit'
-require 'test_declarative'
require 'pp'
+require 'bundler/setup'
+
+require 'test_declarative'
require 'minimal'
alias :require_dependency :require
@@ -16,4 +18,4 @@
ActionView::Base.class_eval { def protect_against_forgery?; false end } # HAX
-VIEW_PATH = File.expand_path('../fixtures/views', __FILE__)
+VIEW_PATH = File.expand_path('../fixtures/views', __FILE__)
Please sign in to comment.
Something went wrong with that request. Please try again.