From fdb53bb348e033b307e0ed3f9b0f5bfa0b270cec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mindaugas=20Moz=C5=ABras?= Date: Sun, 22 Feb 2015 22:12:25 +0200 Subject: [PATCH] Move fixtures from spec/support/files to spec/fixtures --- spec/{support/files => fixtures}/message_with_path.xml | 0 spec/{support/files => fixtures}/message_without_line.xml | 0 spec/{support/files => fixtures}/message_without_path.xml | 0 spec/spec_helper.rb | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename spec/{support/files => fixtures}/message_with_path.xml (100%) rename spec/{support/files => fixtures}/message_without_line.xml (100%) rename spec/{support/files => fixtures}/message_without_path.xml (100%) diff --git a/spec/support/files/message_with_path.xml b/spec/fixtures/message_with_path.xml similarity index 100% rename from spec/support/files/message_with_path.xml rename to spec/fixtures/message_with_path.xml diff --git a/spec/support/files/message_without_line.xml b/spec/fixtures/message_without_line.xml similarity index 100% rename from spec/support/files/message_without_line.xml rename to spec/fixtures/message_without_line.xml diff --git a/spec/support/files/message_without_path.xml b/spec/fixtures/message_without_path.xml similarity index 100% rename from spec/support/files/message_without_path.xml rename to spec/fixtures/message_without_path.xml diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 14fd02b4..1c8ce464 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -8,6 +8,6 @@ end def load_fixture(fixture_name) - path = File.join(%w(spec support files), fixture_name) + path = File.join(%w(spec fixtures), fixture_name) File.read(path).strip end