Ad
  • Custom User Avatar

    Tests are outdated, card_number and transaction_date are not the same anymore:
    expected: [{:location=>"US", :id=>3, :name=>"Rustic...", :price=>93.43, :card_number=>"1234-2121-1221-1211",:transaction_date=>#<Date: 2013-02-25 ((2456349j,0s,0n),+0s,2299161j)>}]
    got: [{:location=>"US", :id=>3, :name=>"Rustic...", :price=>93.43, :card_number=>"1212-1221-1121-1234",:transaction_date=>#<Date: 2016-03-08 ((2457456j,0s,0n),+0s,2299161j)>}]

  • Custom User Avatar

    realy nice and clean solution