Skip to content

Commit

Permalink
Acceptance tests now pass.
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerhendrix committed Apr 15, 2009
1 parent a7c27b8 commit 8917812
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions TODO
@@ -1,6 +1,8 @@
0.1.0 Release
Fix failing unit tests +done
Fix failing acceptance tests
Artist info for Metallica should have bio +done
User's tags for Metallica should have an array of tags
Pull down Jeweler branch
Finish API
Add README etc.
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/artist/info_test.rb
Expand Up @@ -47,7 +47,7 @@
it "should have bio" do
@info["bio"].should be_kind_of Hash
@info["bio"]["summary"].match('metal band').should_not be_nil
@info["bio"]["content"].match('Master Of Puppets').should_not be_nil
@info["bio"]["content"].match('James Hetfield,').should_not be_nil
end

end
2 changes: 1 addition & 1 deletion test/acceptance/artist/similar_artists_test.rb
Expand Up @@ -5,7 +5,7 @@
before(:all) do #We only want to hit the webservice once.
@artist = Scrobbler2::Artist.new "Metallica"
@similar = @artist.similar
puts "Similar: #{@similar.inspect} \n"
# puts "Similar: #{@similar.inspect} \n"
end

it "should be a Hash" do
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/artist/tags_test.rb
Expand Up @@ -5,7 +5,7 @@
before(:all) do #We only want to hit the webservice once.
@artist = Scrobbler2::Artist.new "Metallica"
@tags = @artist.tags
puts "TAGS: #{@tags.inspect} \n"
# puts "TAGS: #{@tags.inspect} \n"
end

it "should be a Hash" do
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/tag/similar_test.rb
Expand Up @@ -5,7 +5,7 @@
before(:all) do #We only want to hit the webservice once.
@tag = Scrobbler2::Tag.new "Disco"
@similar = @tag.similar
puts "Similar: \n\n #{@similar.inspect} \n\n"
#puts "Similar: \n\n #{@similar.inspect} \n\n"
end

it "should be an array of artists" do
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/user/info_test.rb
Expand Up @@ -5,7 +5,7 @@
before(:all) do #We only want to hit the webservice once.
@user = Scrobbler2::User.new "gingerhendrix"
@info = @user.info
puts @info.inspect + "\n"
#puts @info.inspect + "\n"
end

it "should be hash" do
Expand Down

0 comments on commit 8917812

Please sign in to comment.