Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-08-20 22:41:47 +0300
committerDouwe Maan <douwe@gitlab.com>2015-08-20 22:41:47 +0300
commit54b04f1c5b6c486a67c654ee9987e5f5ec4501fd (patch)
tree6c191226132073546adca92f259d1d17400949ba /spec/lib/gitlab/google_code_import/client_spec.rb
parentac268674edfdaa5b8232f9875481410fc5112f60 (diff)
Add fixture_file helper.
Diffstat (limited to 'spec/lib/gitlab/google_code_import/client_spec.rb')
-rw-r--r--spec/lib/gitlab/google_code_import/client_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/google_code_import/client_spec.rb b/spec/lib/gitlab/google_code_import/client_spec.rb
index 6aa4428f367..37985c062b4 100644
--- a/spec/lib/gitlab/google_code_import/client_spec.rb
+++ b/spec/lib/gitlab/google_code_import/client_spec.rb
@@ -1,7 +1,7 @@
require "spec_helper"
describe Gitlab::GoogleCodeImport::Client do
- let(:raw_data) { JSON.parse(File.read(Rails.root.join("spec/fixtures/GoogleCodeProjectHosting.json"))) }
+ let(:raw_data) { JSON.parse(fixture_file("GoogleCodeProjectHosting.json")) }
subject { described_class.new(raw_data) }
describe "#valid?" do