Sha256: 960cfafaa02d7c4b00198d2ff755c13fe4246b4147f3507fc646844224a2a2db

Contents?: true

Size: 384 Bytes

Versions: 5

Compression:

Stored size: 384 Bytes

Contents

require 'rubygems'
require 'restfulie'
require 'client/buying_process.rb'

class Restfulie::Client::Cache::Basic
  def cache_hit(response)
    puts "Saving your time and money: cache hit!"
    response
  end
end

require 'spec_helper'

describe ItemsController do

  context "when creating an item" do

    it "should keep its values" do
      BuyingProcess.run
    end

  end
  
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
restfulie-nosqlite-1.0.4 full-examples/rest_from_scratch/part_3/spec/buying_process_spec.rb
restfulie-1.1.1 full-examples/rest_from_scratch/part_3/spec/buying_process_spec.rb
restfulie-1.1.0 full-examples/rest_from_scratch/part_3/spec/buying_process_spec.rb
restfulie-nosqlite-1.0.3 full-examples/rest_from_scratch/part_3/spec/buying_process_spec.rb
restfulie-1.0.3 full-examples/rest_from_scratch/part_3/spec/buying_process_spec.rb