Sha256: 711df49f7a9ed71b2b2c9195215ab6f09eea1beb90bdbb89250ed6bde01bf56a
Contents?: true
Size: 957 Bytes
Versions: 3
Compression:
Stored size: 957 Bytes
Contents
require 'test_helper' require 'camping' require 'camping/commands' Camping.goes :Inception # Inception.goes :Leonardo # Leonardo.goes :Donatello class Inception::Test < TestCase def the_app app = Camping::Apps.select{|a| a.name == "Inception" }.first app.make_camp app end # def the_child # app = Inception::Apps.select{|a| a.name == "Leonardo" }.first # app.make_camp # app # end # # def the_brother # app = Leonardo::Apps.select{|a| a.name == "Donatello" }.first # app.make_camp # app # end # Test that the S is pretty big in the app. # def test_has_big_s # s = the_app::S # c = the_child::S # b = the_brother::S # # assert (s.length == c.length), "This S is the wrong length. parent: #{s.length}, child: #{c.length}." # assert (c.length == b.length), "This S is the wrong length. child: #{c.length}, brother: #{b.length}." # end # Test that a Gsubbed S is equivalent. end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
camping-3.0.2 | test/app_inception.rb |
camping-3.0.1 | test/app_inception.rb |
camping-3.0.0 | test/app_inception.rb |