diff --git a/spec/fixtures/api_authentication/expected/spec/requests/api/me/show_spec.cr b/fixtures/api_authentication/expected/spec/requests/api/me/show_spec.cr similarity index 100% rename from spec/fixtures/api_authentication/expected/spec/requests/api/me/show_spec.cr rename to fixtures/api_authentication/expected/spec/requests/api/me/show_spec.cr diff --git a/spec/fixtures/api_authentication/expected/spec/requests/api/sign_ins/create_spec.cr b/fixtures/api_authentication/expected/spec/requests/api/sign_ins/create_spec.cr similarity index 100% rename from spec/fixtures/api_authentication/expected/spec/requests/api/sign_ins/create_spec.cr rename to fixtures/api_authentication/expected/spec/requests/api/sign_ins/create_spec.cr diff --git a/spec/fixtures/api_authentication/expected/spec/requests/api/sign_ups/create_spec.cr b/fixtures/api_authentication/expected/spec/requests/api/sign_ups/create_spec.cr similarity index 100% rename from spec/fixtures/api_authentication/expected/spec/requests/api/sign_ups/create_spec.cr rename to fixtures/api_authentication/expected/spec/requests/api/sign_ups/create_spec.cr diff --git a/spec/fixtures/api_authentication/expected/src/actions/api/me/show.cr b/fixtures/api_authentication/expected/src/actions/api/me/show.cr similarity index 100% rename from spec/fixtures/api_authentication/expected/src/actions/api/me/show.cr rename to fixtures/api_authentication/expected/src/actions/api/me/show.cr diff --git a/spec/fixtures/api_authentication/expected/src/actions/api/sign_ins/create.cr b/fixtures/api_authentication/expected/src/actions/api/sign_ins/create.cr similarity index 100% rename from spec/fixtures/api_authentication/expected/src/actions/api/sign_ins/create.cr rename to fixtures/api_authentication/expected/src/actions/api/sign_ins/create.cr diff --git a/spec/fixtures/api_authentication/expected/src/actions/api/sign_ups/create.cr b/fixtures/api_authentication/expected/src/actions/api/sign_ups/create.cr similarity index 100% rename from spec/fixtures/api_authentication/expected/src/actions/api/sign_ups/create.cr rename to fixtures/api_authentication/expected/src/actions/api/sign_ups/create.cr diff --git a/spec/fixtures/api_authentication/expected/src/actions/mixins/api/auth/helpers.cr b/fixtures/api_authentication/expected/src/actions/mixins/api/auth/helpers.cr similarity index 100% rename from spec/fixtures/api_authentication/expected/src/actions/mixins/api/auth/helpers.cr rename to fixtures/api_authentication/expected/src/actions/mixins/api/auth/helpers.cr diff --git a/spec/fixtures/api_authentication/expected/src/actions/mixins/api/auth/require_auth_token.cr b/fixtures/api_authentication/expected/src/actions/mixins/api/auth/require_auth_token.cr similarity index 100% rename from spec/fixtures/api_authentication/expected/src/actions/mixins/api/auth/require_auth_token.cr rename to fixtures/api_authentication/expected/src/actions/mixins/api/auth/require_auth_token.cr diff --git a/spec/fixtures/api_authentication/expected/src/actions/mixins/api/auth/skip_require_auth_token.cr b/fixtures/api_authentication/expected/src/actions/mixins/api/auth/skip_require_auth_token.cr similarity index 100% rename from spec/fixtures/api_authentication/expected/src/actions/mixins/api/auth/skip_require_auth_token.cr rename to fixtures/api_authentication/expected/src/actions/mixins/api/auth/skip_require_auth_token.cr diff --git a/spec/fixtures/api_authentication/expected/src/models/user_token.cr b/fixtures/api_authentication/expected/src/models/user_token.cr similarity index 100% rename from spec/fixtures/api_authentication/expected/src/models/user_token.cr rename to fixtures/api_authentication/expected/src/models/user_token.cr diff --git a/spec/fixtures/api_authentication/expected/src/serializers/user_serializer.cr b/fixtures/api_authentication/expected/src/serializers/user_serializer.cr similarity index 100% rename from spec/fixtures/api_authentication/expected/src/serializers/user_serializer.cr rename to fixtures/api_authentication/expected/src/serializers/user_serializer.cr diff --git a/spec/fixtures/shard_file/expected/shard.yml b/fixtures/shard_file/expected/shard.yml similarity index 97% rename from spec/fixtures/shard_file/expected/shard.yml rename to fixtures/shard_file/expected/shard.yml index d0583bf3..74f6b2f6 100644 --- a/spec/fixtures/shard_file/expected/shard.yml +++ b/fixtures/shard_file/expected/shard.yml @@ -4,7 +4,7 @@ version: 0.1.0 targets: test_shard: main: src/test_shard.cr -crystal: '>= 1.6.2' +crystal: '>= 1.8.2' dependencies: lucky: github: luckyframework/lucky diff --git a/spec/fixtures/shard_file__browser/expected/shard.yml b/fixtures/shard_file__browser/expected/shard.yml similarity index 100% rename from spec/fixtures/shard_file__browser/expected/shard.yml rename to fixtures/shard_file__browser/expected/shard.yml diff --git a/spec/fixtures/shard_file__generate_auth/expected/shard.yml b/fixtures/shard_file__generate_auth/expected/shard.yml similarity index 100% rename from spec/fixtures/shard_file__generate_auth/expected/shard.yml rename to fixtures/shard_file__generate_auth/expected/shard.yml diff --git a/spec/fixtures/shard_file__with_sec_tester/expected/shard.yml b/fixtures/shard_file__with_sec_tester/expected/shard.yml similarity index 100% rename from spec/fixtures/shard_file__with_sec_tester/expected/shard.yml rename to fixtures/shard_file__with_sec_tester/expected/shard.yml diff --git a/spec/spec_helper2.cr b/spec/spec_helper2.cr index 00f3d1f4..186f4565 100644 --- a/spec/spec_helper2.cr +++ b/spec/spec_helper2.cr @@ -5,7 +5,7 @@ require "../src/lucky_cli" include LuckyTemplate::Spec -FIXTURES = "#{__DIR__}/fixtures" +FIXTURES = "#{__DIR__}/../fixtures" Spec.around_each do |example| with_tempfile("tmp") do |tmp|