diff --git a/.gitignore b/.gitignore index 00c0b86..cd55b98 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ coverage rdoc pkg +nbproject diff --git a/.rvmrc b/.rvmrc new file mode 100644 index 0000000..de7a340 --- /dev/null +++ b/.rvmrc @@ -0,0 +1 @@ +rvm 1.9.2@toto diff --git a/test/toto_test.rb b/test/toto_test.rb index aa090b6..4588952 100644 --- a/test/toto_test.rb +++ b/test/toto_test.rb @@ -1,4 +1,4 @@ -require 'test/test_helper' +require 'test_helper' require 'date' URL = "http://toto.oz" @@ -101,6 +101,7 @@ asserts("body should be valid xml") { topic.body }.includes_html("feed > entry" => /.+/) asserts("summary shouldn't be empty") { topic.body }.includes_html("summary" => /.{10,}/) end + context "GET /index?param=testparam (get parameter)" do setup { @toto.get('/index?param=testparam') } asserts("returns a 200") { topic.status }.equals 200 diff --git a/toto.gemspec b/toto.gemspec index 03b032e..2b20eb2 100644 --- a/toto.gemspec +++ b/toto.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |s| s.authors = ["cloudhead"] s.date = %q{2010-12-01} s.description = %q{the tiniest blog-engine in Oz.} - s.email = %q{self@cloudhead.net} + s.email = %q{self@cloudhead.net, mail@5v3n.com} s.extra_rdoc_files = [ "LICENSE", "README.md" @@ -44,7 +44,7 @@ Gem::Specification.new do |s| "test/toto_test.rb", "toto.gemspec" ] - s.homepage = %q{http://github.com/cloudhead/toto} + s.homepage = %q{http://github.com/5v3n/toto} s.rdoc_options = ["--charset=UTF-8"] s.require_paths = ["lib"] s.rubygems_version = %q{1.3.5}