Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

improve test names

  • Loading branch information...
commit c7722c11ef00498dc63646f43eadab39846f7ebb 1 parent a4c2b26
@tapajos tapajos authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 test/video.rb
View
10 test/video.rb
@@ -45,27 +45,27 @@ def test_accessors_and_initialize
end
end
- def test_embed_code
+ def test_embed_code_without_options
expected_embed_code = File.read(File.dirname(__FILE__) + '/fixtures/embed_code.txt')
assert_equal expected_embed_code, @video.embed_code
end
- def test_equals_when_two_ids_are_equal
+ def test_equals_when_should_be_equals
second_video = Viddler::Video.new("id" => "6a2babb2")
assert_equal second_video, @video
end
- def test_equals_when_two_ids_are_not_equal
+ def test_equals_when_should_not_be_equals
second_video = Viddler::Video.new("id" => "6a2babb3")
assert_not_equal second_video, @video
end
- def test_eql_when_two_ids_are_equal
+ def test_eql_when_should_be_equals
second_video = Viddler::Video.new("id" => "6a2babb2")
assert @video.eql?(second_video)
end
- def test_eql_when_two_ids_are_not_equal
+ def test_eql_when_should_not_be_equals
second_video = Viddler::Video.new("id" => "6a2babb3")
assert !@video.eql?(second_video)
end
Please sign in to comment.
Something went wrong with that request. Please try again.