spec/momm/storage_spec.rb in momm-0.0.7 vs spec/momm/storage_spec.rb in momm-1.0.0
- old
+ new
@@ -5,33 +5,33 @@
context "NotImplementedError" do
it "should apply to #client" do
expect{
storage.client
- }.to raise_error
+ }.to raise_error NotImplementedError
end
it "should apply to #set_rate" do
expect{
- storage.set_rate
- }.to raise_error
+ storage.set_rate("GBP", "USD", 0.8)
+ }.to raise_error NotImplementedError
end
it "should apply to #get_rate" do
expect{
- storage.get_rate
- }.to raise_error
+ storage.get_rate("GBP", "USD")
+ }.to raise_error NotImplementedError
end
it "should apply to #exchange_rate" do
expect{
storage.client
- }.to raise_error
+ }.to raise_error NotImplementedError
end
it "should apply to #exchange_rate" do
expect{
storage.client
- }.to raise_error
+ }.to raise_error NotImplementedError
end
end
-end
\ No newline at end of file
+end