diff options
Diffstat (limited to 'spec/monkeypatch.rb')
-rw-r--r-- | spec/monkeypatch.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/monkeypatch.rb b/spec/monkeypatch.rb index 75099e0553a..b4c358c21a3 100644 --- a/spec/monkeypatch.rb +++ b/spec/monkeypatch.rb @@ -12,6 +12,10 @@ class Project def path_to_repo File.join(Rails.root, "tmp", "tests", path) end + + def satellite + @satellite ||= FakeSatellite.new + end end class Key @@ -29,3 +33,15 @@ class UsersProject true end end + +class FakeSatellite + def exists? + true + end + + def create + true + end +end + + |