Sha256: c61eb8a820c4a6ef08718c5e53ef6e17b00efa26da805e5bc3e1833196db66e0
Contents?: true
Size: 722 Bytes
Versions: 1
Compression:
Stored size: 722 Bytes
Contents
require './test/test_helper' class OptionsTest < GemStoneTest def setup @valid_options = { :name => 'My gem', :author => 'Raul Murciano', :email => 'raul@murciano.net', :homepage => 'http://github.com/raul/my_gem', :description => 'A short description goes here', :summary => 'Lorem ipsum and so on', :executable => true } end def test_version assert_equal '0.1', GemStone::VERSION end def test_required_options_are_checked GemStone::OptionsValidator::REQUIRED_OPTIONS.each do |option| @valid_options.delete(option) assert_raises GemStone::MissingOption do GemStone::Generator.new @valid_options end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gemstone-0.1 | test/options_test.rb |