Skip to content

Commit

Permalink
Merge pull request #211 from SampsonCrowley/patch-1
Browse files Browse the repository at this point in the history
You have to_bytes and to_s swapped
  • Loading branch information
tarcieri committed Apr 17, 2020
2 parents a12c637 + 3ba2106 commit 6e36da4
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -45,13 +45,13 @@

context "#to_bytes" do
it "returns the bytes of the key" do
expect(subject.to_s).to eq bobsk
expect(subject.to_bytes).to eq bobsk
end
end

context "#to_s" do
it "returns the raw bytes of the key" do
expect(subject.to_bytes).to eq bobsk
expect(subject.to_s).to eq bobsk
end
end

Expand Down

0 comments on commit 6e36da4

Please sign in to comment.