Skip to content

Commit

Permalink
Fix typo in contract_spec.rb (#253)
Browse files Browse the repository at this point in the history
"contact" -> "contract"
  • Loading branch information
flanagansteve authored Nov 22, 2023
1 parent a527415 commit f8cafea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/eth/contract_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
expect { Contract.from_bin(name: name, abi: abi, bin: bin) }.to raise_error JSON::ParserError
end

it "contact index can be specified" do
it "contract index can be specified" do
file = "spec/fixtures/contracts/greeter.sol"
greeter = Contract.from_file(file: file, contract_index: 0)
expect(greeter).to be_instance_of(Eth::Contract::Greeter)
Expand Down

0 comments on commit f8cafea

Please sign in to comment.