Sha256: 69a70bc65e4b84c15feb991108bbfa27e8bd95560d0aa70b04d9cbd0a1f879d1

Contents?: true

Size: 395 Bytes

Versions: 7

Compression:

Stored size: 395 Bytes

Contents

require 'spec_helper'

describe VimeoVideo do

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

    @vimeo_video.destroy! if @vimeo_video
    @vimeo_video = VimeoVideo.create!(@valid_attributes.update(options))
  end

  before(:each) do
    reset_vimeo_video
  end

  context "validations" do
    
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
refinerycms-vimeo-videos-0.2.rc2 spec/models/vimeo_video_spec.rb
refinerycms-vimeo-videos-0.1.9.rc3 spec/models/vimeo_video_spec.rb
refinerycms-vimeo-videos-0.1.9.rc2 spec/models/vimeo_video_spec.rb
refinerycms-vimeo-videos-0.1.9.rc1 spec/models/vimeo_video_spec.rb
refinerycms-vimeo-videos-0.1.8.1 spec/models/vimeo_video_spec.rb
refinerycms-vimeo-videos-0.1.8 spec/models/vimeo_video_spec.rb
refinerycms-vimeo-videos-0.1.7 spec/models/vimeo_video_spec.rb