spec/sync_spec.rb in trackman-0.4.6 vs spec/sync_spec.rb in trackman-0.4.7

- old
+ new

@@ -34,18 +34,24 @@ ENV['TRACKMAN_AUTOSYNC'] = v MyTestAsset.autosync end end - it "doesn't autosync if the env is not in production" do + it "doesn't autosync if the env is dev or test" do class Rails def self.env Env.new end end class Env def production? + false + end + def development? + true + end + def test? false end end MyTestAsset.should_not_receive(:sync) \ No newline at end of file