Initial commit

This commit is contained in:
2013-05-14 00:48:13 -07:00
commit ff4e7614e6
62 changed files with 1332 additions and 0 deletions

0
test/fixtures/.gitkeep vendored Normal file
View File

7
test/fixtures/ipns.yml vendored Normal file
View File

@@ -0,0 +1,7 @@
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
one:
data: MyString
two:
data: MyString

0
test/functional/.gitkeep Normal file
View File

View File

@@ -0,0 +1,7 @@
require 'test_helper'
class IpnControllerTest < ActionController::TestCase
# test "the truth" do
# assert true
# end
end

View File

View File

@@ -0,0 +1,12 @@
require 'test_helper'
require 'rails/performance_test_help'
class BrowsingTest < ActionDispatch::PerformanceTest
# Refer to the documentation for all available options
# self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
# :output => 'tmp/performance', :formats => [:flat] }
def test_homepage
get '/'
end
end

13
test/test_helper.rb Normal file
View File

@@ -0,0 +1,13 @@
ENV["RAILS_ENV"] = "test"
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
class ActiveSupport::TestCase
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
#
# Note: You'll currently still have to declare fixtures explicitly in integration tests
# -- they do not yet inherit this setting
fixtures :all
# Add more helper methods to be used by all tests here...
end

0
test/unit/.gitkeep Normal file
View File

View File

@@ -0,0 +1,4 @@
require 'test_helper'
class IpnHelperTest < ActionView::TestCase
end

7
test/unit/ipn_test.rb Normal file
View File

@@ -0,0 +1,7 @@
require 'test_helper'
class IpnTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end