Sha256: fe778d4c21ad25e1d48b3ed7982d659c86689efe4e42b480c24df3421f6e94ac

Contents?: true

Size: 412 Bytes

Versions: 7

Compression:

Stored size: 412 Bytes

Contents

require 'test_helper'

class HopscotchParserTest < ActiveSupport::TestCase
  test 'creates a new parser' do
    a = Hopskip::HopscotchParser.new(ApplicationController.new)
    assert_equal a.class, Hopskip::HopscotchParser
  end

  test '#show should return nil if the controller has no tour associated with it' do
    a = Hopskip::HopscotchParser.new(ApplicationController.new)
    assert_nil a.show
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hopskip-0.1.3 test/lib/hopskip/hopscotch_parser_test.rb
hopskip-0.1.2 test/lib/hopskip/hopscotch_parser_test.rb
hopskip-0.1.1 test/lib/hopskip/hopscotch_parser_test.rb
hopskip-0.1 test/lib/hopskip/hopscotch_parser_test.rb
hopskip-0.0.6 test/lib/hopskip/hopscotch_parser_test.rb
hopskip-0.0.5 test/lib/hopskip/hopscotch_parser_test.rb
hopskip-0.0.1 test/lib/hopskip/hopscotch_parser_test.rb