diff --git a/spec/report_generator_spec.rb b/spec/report_generator_spec.rb index e96848ff..b5799552 100644 --- a/spec/report_generator_spec.rb +++ b/spec/report_generator_spec.rb @@ -75,6 +75,7 @@ it "works with email recipients" do DiscourseDataExplorer::ResultToMarkdown.expects(:convert).returns("le table") + freeze_time email = "john@doe.com" result = described_class.generate(query.id, query_params, [email]) @@ -96,6 +97,7 @@ it "works with duplicate recipients" do DiscourseDataExplorer::ResultToMarkdown.expects(:convert).returns("table data") + freeze_time result = described_class.generate(query.id, query_params, [user.username, user.username])