Skip to content

Instantly share code, notes, and snippets.

@DakotaLMartinez
Last active June 11, 2021 16:26
Show Gist options
  • Save DakotaLMartinez/26f1350f6b38562ae51d5219a4360f8d to your computer and use it in GitHub Desktop.
Save DakotaLMartinez/26f1350f6b38562ae51d5219a4360f8d to your computer and use it in GitHub Desktop.
New Tests
describe ".make_yourself_a_fan_of_the_black_eyed_peas" do
it "adds your name to the fans table as a fan of the black eyed peas (ArtistId **169**)" do
Query.run(:make_yourself_a_fan_of_the_black_eyed_peas)
black_eyed_peas_fans = Query.run("SELECT * FROM fans WHERE artist_id = 169").map{|row| row["name"]}
expect(black_eyed_peas_fans).to include("REPLACE ME WITH YOUR NAME")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment