Sha256: 5ac9b71e110b7a3351db61b8a08ec6c7e48bfcb4eb627f3b98392e1221375216

Contents?: true

Size: 433 Bytes

Versions: 2

Compression:

Stored size: 433 Bytes

Contents

require 'spec_helper'

describe VimeoMetaCache do

  def reset_vimeo_meta_cache(options = {})
    @valid_attributes = {
      :id => 1,
      :title => "RSpec is great for testing too"
    }

    @vimeo_meta_cache.destroy! if @vimeo_meta_cache
    @vimeo_meta_cache = VimeoMetaCache.create!(@valid_attributes.update(options))
  end

  before(:each) do
    reset_vimeo_meta_cache
  end

  context "validations" do
    
    
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
refinerycms-vimeo-videos-0.1.6 spec/models/vimeo_meta_cache_spec.rb
refinerycms-vimeo-videos-0.1.5 spec/models/vimeo_meta_cache_spec.rb