Sha256: 2406de6bc93669c17c4bec1686f45e43a72de05f3fe39d78feed08775953d1e9

Contents?: true

Size: 380 Bytes

Versions: 11

Compression:

Stored size: 380 Bytes

Contents

require 'test_helper'

class ShoppeTest < ActiveSupport::TestCase
  test "truth" do
    assert_kind_of Module, Shoppe
  end
  
  test "root path is set" do
    assert_equal File.expand_path('../../', __FILE__), Shoppe.root
  end
  
  test "configuration is loaded" do
    assert Shoppe.config.is_a?(Hash)
    assert_equal 'Example Store',  Shoppe.config[:store_name]
  end
  
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
shoppe-0.0.15 test/shoppe_test.rb
shoppe-0.0.14 test/shoppe_test.rb
shoppe-0.0.13 test/shoppe_test.rb
shoppe-0.0.12 test/shoppe_test.rb
shoppe-0.0.11 test/shoppe_test.rb
shoppe-0.0.10 test/shoppe_test.rb
shoppe-0.0.9 test/shoppe_test.rb
shoppe-0.0.8 test/shoppe_test.rb
shoppe-0.0.7 test/shoppe_test.rb
shoppe-0.0.6 test/shoppe_test.rb
shoppe-0.0.5 test/shoppe_test.rb