From f090feb8d4cacce9a1e8ffcda6cb542917c7e1e1 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 27 Mar 2015 13:33:34 -0400 Subject: railzZz --- test/fixtures/.gitkeep | 0 test/fixtures/fingers.yml | 11 +++++++++++ test/functional/.gitkeep | 0 test/functional/finger_controller_test.rb | 7 +++++++ test/integration/.gitkeep | 0 test/performance/browsing_test.rb | 12 ++++++++++++ test/test_helper.rb | 13 +++++++++++++ test/unit/.gitkeep | 0 test/unit/finger_test.rb | 7 +++++++ test/unit/helpers/finger_helper_test.rb | 4 ++++ 10 files changed, 54 insertions(+) create mode 100644 test/fixtures/.gitkeep create mode 100644 test/fixtures/fingers.yml create mode 100644 test/functional/.gitkeep create mode 100644 test/functional/finger_controller_test.rb create mode 100644 test/integration/.gitkeep create mode 100644 test/performance/browsing_test.rb create mode 100644 test/test_helper.rb create mode 100644 test/unit/.gitkeep create mode 100644 test/unit/finger_test.rb create mode 100644 test/unit/helpers/finger_helper_test.rb (limited to 'test') diff --git a/test/fixtures/.gitkeep b/test/fixtures/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/test/fixtures/fingers.yml b/test/fixtures/fingers.yml new file mode 100644 index 0000000..6abb172 --- /dev/null +++ b/test/fixtures/fingers.yml @@ -0,0 +1,11 @@ +# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html + +one: + nick: MyString + hash: MyString + remote_addr: MyString + +two: + nick: MyString + hash: MyString + remote_addr: MyString diff --git a/test/functional/.gitkeep b/test/functional/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/test/functional/finger_controller_test.rb b/test/functional/finger_controller_test.rb new file mode 100644 index 0000000..3ca0dfe --- /dev/null +++ b/test/functional/finger_controller_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class FingerControllerTest < ActionController::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/integration/.gitkeep b/test/integration/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/test/performance/browsing_test.rb b/test/performance/browsing_test.rb new file mode 100644 index 0000000..3fea27b --- /dev/null +++ b/test/performance/browsing_test.rb @@ -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 diff --git a/test/test_helper.rb b/test/test_helper.rb new file mode 100644 index 0000000..8bf1192 --- /dev/null +++ b/test/test_helper.rb @@ -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 diff --git a/test/unit/.gitkeep b/test/unit/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/test/unit/finger_test.rb b/test/unit/finger_test.rb new file mode 100644 index 0000000..ea8f172 --- /dev/null +++ b/test/unit/finger_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class FingerTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/unit/helpers/finger_helper_test.rb b/test/unit/helpers/finger_helper_test.rb new file mode 100644 index 0000000..048bb49 --- /dev/null +++ b/test/unit/helpers/finger_helper_test.rb @@ -0,0 +1,4 @@ +require 'test_helper' + +class FingerHelperTest < ActionView::TestCase +end -- cgit v1.2.3-70-g09d2