README.md in infrataster-0.1.4 vs README.md in infrataster-0.1.5

- old
+ new

@@ -1,8 +1,10 @@ # Infrataster [![Gem Version](https://badge.fury.io/rb/infrataster.png)](http://badge.fury.io/rb/infrataster) +[![Build Status](http://ci.ryotarai.info/buildStatus/icon?job=infrataster)](http://ci.ryotarai.info/job/infrataster/) +[![Code Climate](https://codeclimate.com/github/ryotarai/infrataster.png)](https://codeclimate.com/github/ryotarai/infrataster) Infrastructure Behavior Testing Framework. ## Basic Usage with Vagrant @@ -207,33 +209,10 @@ (BrowserMob Proxy is needed to manipulate Host HTTP header.) ### `mysql_query` resource -`mysql_query` resource tests responce for mysql query. - -```ruby -describe server(:db) do - describe mysql_query('SHOW STATUS') do - it 'returns positive uptime' do - row = results.find {|r| r['Variable_name'] == 'Uptime' } - expect(row['Value'].to_i).to be > 0 - - # `results` is a instance of `Mysql2::Result` - # See: https://github.com/brianmario/mysql2 - end - end -end -``` - -You can specify username and password by options passed to `Infrataster::Server.define`: - -```ruby -Infrataster::Server.define( - # ... - mysql: {user: 'app', password: 'app'} -) -``` +`mysql_query` resource is now in [infrataster-plugin-mysql](https://github.com/ryotarai/infrataster-plugin-mysql). ## Example * [example](example) * [spec/integration](spec/integration)