Sha256: 5736f5763f505ae613eb8d6255d93d117e052e92ed12b678f4379058467d9a29
Contents?: true
Size: 389 Bytes
Versions: 4
Compression:
Stored size: 389 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Dataset do let(:dataset){ create(:dataset) } subject{ dataset } describe ".touch_existing(:id)" do it "should touch the dataset" do dataset.updated_at sleep(0.75) Dataset.touch_existing(subject.id).should eq true Dataset.find(subject.id).updated_at.should_not eq dataset.updated_at end end end
Version data entries
4 entries across 4 versions & 1 rubygems