Skip to content

Commit

Permalink
Add test and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
panthomakos committed Feb 12, 2024
1 parent d320114 commit 52a7814
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
@@ -1,5 +1,7 @@
# master (unreleased)

* Fix `exists?` to `exist?` for Ruby 3.2+. (mkasberg)

# 1.1.0

* Add `if [not] exists` support for creating/dropping DBs. (sshistrava)
Expand Down
10 changes: 10 additions & 0 deletions test/lib/lynx/main_test.rb
@@ -0,0 +1,10 @@
require 'minitest/autorun'
require 'lynx'

describe Lynx do
it 'attempts to config from Rails' do
assert_raises(RuntimeError, 'unable to find configuration file') do
Lynx.rails
end
end
end

0 comments on commit 52a7814

Please sign in to comment.