Sha256: c2e6d4c0f9faa1eae08c85566d5f4a519fb185d09e3f86a3d22aeec58a78d249
Contents?: true
Size: 878 Bytes
Versions: 1
Compression:
Stored size: 878 Bytes
Contents
require 'acts_as_saveable' require 'spec_helper' describe SaveableSaver do it_behaves_like "a saveable_model" do # TODO Replace with factories let (:saver) { SaveableSaver.create(:name => 'i can saved!') } let (:saver2) { SaveableSaver.create(:name => 'a new person') } let (:saver3) { Saver.create(:name => 'another person') } let (:saveable) { SaveableSaver.create(:name => 'a saving model') } let (:saveable_cache) { SaveableCache.create(:name => 'saving model with cache') } end it_behaves_like "a saver_model" do # TODO Replace with factories let (:saver) { SaveableSaver.create(:name => 'i can saved!') } let (:saver2) { SaveableSaver.create(:name => 'a new person') } let (:saveable) { SaveableSaver.create(:name => 'a saving model') } let (:saveable2) { SaveableSaver.create(:name => 'a 2nd saving model') } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
acts_as_saveable-0.10.1 | spec/saveable_saver_spec.rb |