Registry / testing / code-spec

code-spec

JSON →
library0.4.0rbrubygemsunverified

RSpec 2 matchers for specing Ruby code files, such as those updated or generated by a Thor generator.

gem install code-spec
INSTALL
IMPORT
SIG · CODE-SPEC
C
code-spec
testingrubyv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CodeSpec
require 'code-spec'

Test a Ruby file with custom matchers

require 'code-spec' RSpec.describe 'my_file.rb' do it { is_expected.to be_a_valid_ruby_file } end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
code-spec — gem install code-spec · libregistry