spec/simple/sql_ask_spec.rb in simple-sql-0.2.6 vs spec/simple/sql_ask_spec.rb in simple-sql-0.2.7
- old
+ new
@@ -1,9 +1,7 @@
require "spec_helper"
describe "Simple::SQL.ask" do
- USER_COUNT = 2
-
def expects(expected_result, sql, *args)
expect(SQL.ask(sql, *args)).to eq(expected_result)
end
let!(:users) { 1.upto(USER_COUNT).map { create(:user) } }