Created
August 3, 2010 13:25
-
-
Save dchelimsky/506366 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe CfgInterface do | |
fixtures :cfg_entities, :cfg_entity_attributes, :cfg_interfaces, :cfg_intf_filters | |
it "should return a hash with filter parameters" do | |
filters_hash = CfgInterface.filters_hash_for('CONS_ALL_ACCOUNT') | |
filters_hash.should have(2).entries | |
filters_hash['description'].should eql('ach_accounts.description') | |
filters_hash['id_param'].should eql('ach_accounts.id') | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment