Skip to content

Commit

Permalink
Update scope_test.rb
Browse files Browse the repository at this point in the history
typo committed somehow
  • Loading branch information
janxious committed Apr 1, 2016
1 parent 5f55824 commit 03853c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/scope_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class ScopeTest < ActiveSupport::TestCase
end

test "table_name is set to 'legacy'" do
archived_sql = %Q{SELECT "legacy".* FROM "legacy"# WHERE ("legacy"."archived_at" IS NOT NULL) AND ("legacy"."archive_number" IS NOT NULL)}
archived_sql = %Q{SELECT "legacy".* FROM "legacy" WHERE ("legacy"."archived_at" IS NOT NULL) AND ("legacy"."archive_number" IS NOT NULL)}
unarchived_sql = %Q{SELECT "legacy".* FROM "legacy" WHERE "legacy"."archived_at" IS NULL AND "legacy"."archive_number" IS NULL}
assert_equal archived_sql, ArchivalTableName.archived.to_sql
assert_equal unarchived_sql, ArchivalTableName.unarchived.to_sql
Expand Down

0 comments on commit 03853c1

Please sign in to comment.